package com.sf.dlb.mapper.entity;

/**
 * 用户每个分类阅读时长，阅读数量
 * Created by tanjing on 2019/1/10.
 */
public class UserReaderNewClassEntity {
/*    a.id as "Id",
    a.class_id as "classId",
    (select c.name from new_class c where c.class_id=a.class_id) as "newClassName",
    count(*) as "readerNumber",
    sum(read_time_long) as "readerTime"*/
    private long id;    //用户id
    private String classId;//分类ID
    private String newClassName;//分类名称
    private int readerNumber;//阅读数量
    private int readerTime;//阅读时长

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getNewClassName() {
        return newClassName;
    }

    public void setNewClassName(String newClassName) {
        this.newClassName = newClassName;
    }

    public int getReaderNumber() {
        return readerNumber;
    }

    public void setReaderNumber(int readerNumber) {
        this.readerNumber = readerNumber;
    }

    public int getReaderTime() {
        return readerTime;
    }

    public void setReaderTime(int readerTime) {
        this.readerTime = readerTime;
    }
}
